package com.hs.jhzd.entity;

import javax.persistence.*;
import java.util.Objects;

/**
 * @author guoxc
 * @date 2019/03/04
 **/
//心理评估答题表
@Entity
@Table(name = "jh_xlpgdtb")
public class XlpgdtbEntity {
    private String zybh;
    private String rybh;
    private String flid;
    private String tmid;
    private String xx;
    private String fz;
    private String dtjs;
    private String fzybh;

    @Id
    @Column(name = "ZYBH")
    public String getZybh() {
        return zybh;
    }

    public void setZybh(String zybh) {
        this.zybh = zybh;
    }

    @Basic
    @Column(name = "RYBH")
    public String getRybh() {
        return rybh;
    }

    public void setRybh(String rybh) {
        this.rybh = rybh;
    }

    @Basic
    @Column(name = "FLID")
    public String getFlid() {
        return flid;
    }

    public void setFlid(String flid) {
        this.flid = flid;
    }

    @Basic
    @Column(name = "TMID")
    public String getTmid() {
        return tmid;
    }

    public void setTmid(String tmid) {
        this.tmid = tmid;
    }

    @Basic
    @Column(name = "XX")
    public String getXx() {
        return xx;
    }

    public void setXx(String xx) {
        this.xx = xx;
    }

    @Basic
    @Column(name = "FZ")
    public String getFz() {
        return fz;
    }

    public void setFz(String fz) {
        this.fz = fz;
    }

    @Basic
    @Column(name = "DTJS")
    public String getDtjs() {
        return dtjs;
    }

    public void setDtjs(String dtjs) {
        this.dtjs = dtjs;
    }

    @Basic
    @Column(name = "FZYBH")
    public String getFzybh() {
        return fzybh;
    }

    public void setFzybh(String fzybh) {
        this.fzybh = fzybh;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        XlpgdtbEntity that = (XlpgdtbEntity) o;
        return Objects.equals(zybh, that.zybh) &&
                Objects.equals(rybh, that.rybh) &&
                Objects.equals(flid, that.flid) &&
                Objects.equals(tmid, that.tmid) &&
                Objects.equals(xx, that.xx) &&
                Objects.equals(fz, that.fz) &&
                Objects.equals(dtjs, that.dtjs) &&
                Objects.equals(fzybh, that.fzybh);
    }

    @Override
    public int hashCode() {
        return Objects.hash(zybh, rybh, flid, tmid, xx, fz, dtjs, fzybh);
    }
}
